package com.orhon.smartcampus.modules.teacher.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
@Setter
@Getter
@EqualsAndHashCode
@Entity
@Table(name = "teacher_info_passport", schema = "smartcloud", catalog = "")
public class Passport {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Long id;
    @Column(name = "time", nullable = true)
    private Date time;
    @Column(name = "entime", nullable = true)
    private Date entime;
    @Column(name = "gender", nullable = true, length = 255)
    private String gender;
    @Column(name = "nation", nullable = true, length = 255)
    private String nation;
    @Column(name = "idcard", nullable = true, length = 255)
    private String idcard;
    @Column(name = "passportnumber", nullable = true, length = 255)
    private String passportnumber;
    @Column(name = "nationality", nullable = true, length = 255)
    private String nationality;
    @Column(name = "companyopinion", nullable = true)
    private Integer companyopinion;
    @Column(name = "companyopinionid", nullable = true)
    private Integer companyopinionid;
    @Column(name = "directorcompanyopinion", nullable = true)
    private Integer directorcompanyopinion;
    @Column(name = "directorcompanyopinionid", nullable = true)
    private Integer directorcompanyopinionid;
    @Column(name = "companyopinionimg", nullable = true, length = 255)
    private String companyopinionimg;
    @Column(name = "directorcompanyopinionimg", nullable = true, length = 255)
    private String directorcompanyopinionimg;
    @Column(name = "created_at", nullable = true)
    private Date createdAt;
    @Column(name = "created_by", nullable = true)
    private Integer createdBy;
    @Column(name = "updated_at", nullable = true)
    private Date updatedAt;
    @Column(name = "updated_by", nullable = true)
    private Integer updatedBy;
    @Column(name = "deleted_at", nullable = true)
    private Date deletedAt;
    @Column(name = "name", nullable = true)
    private String name;
    @Column(name = "sourceofcost", nullable = true)
    private String sourceofcost;
    @Column(name = "sourceofcostwa", nullable = true)
    private String sourceofcostwa;
    @Column(name = "reasonsabroad", nullable = true)
    private String reasonsabroad;
    @Column(name = "school_id", nullable = true)
    private Long school_id;
    @Column(name = "teacher_id", nullable = true)
    private Long teacher_id;


}
